package com.wtwd.wtwddevice.mapper;

import com.wtwd.wtwddevice.model.entity.DeviceSleepRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author mjy
 * @since 2024-05-31
 */
@Mapper
public interface DeviceSleepRecordMapper extends BaseMapper<DeviceSleepRecord> {

    /**
     * 设备按天插入或者更新
     *
     * @param deviceSleepRecord
     * @return
     */
    boolean insertOrUpdate(DeviceSleepRecord deviceSleepRecord);
}
